package cn.stylefeng.roses.kernel.saas.api.constants;

/**
 * SaaS模块
 *
 * @author fengshuonan
 * @date 2021/2/18 13:56
 */
public interface SaasConstants {

    /**
     * SaaS模块名
     */
    String SAAS_SERVER_MODULE_NAME = "kernel-d-saas";

    /**
     * 异常枚举的步进值
     */
    String SAAS_SERVER_EXCEPTION_STEP_CODE = "31";

    /**
     * 租户数据源切换的AOP
     */
    Integer TENANT_AOP_ORDER = -100;

    /**
     * 预分配租户数据库数量
     */
    Integer ASSIGNABLE_TENANT_DATABASES_COUNT = 10;

    /**
     * saas初始化的脚本
     */
    String SAAS_INIT_SQL = "saas-init.sql";

}
